@extends('admin.layout.layout')
@section('title')
<title>北京仁爱慈善后台</title>
@endsection
@section('con')
<div class="row">
    <div class="col-lg-12">
        <h1 class="page-header">轮播图修改</h1>
<title>北京市仁爱慈善后台</title>
@endsection
@section('content')
<div class="row">
    <div class="col-lg-12">
        <h1 class="page-header">选项卡图修改</h1>
    </div>
    <!-- /.col-lg-12 -->
</div>
<!-- /.row -->
<div class="row">
    <div class="col-lg-12">
        <div class="panel panel-default">
            <div class="panel-heading">
                修改
            </div>
            <div class="panel-body">
                <div class="row">
                    <div class="col-lg-12">
                        <form role="form" action="{{url('admin/tab/update')}}" method="post" enctype="multipart/form-data">
                            <div class="form-group col-lg-4 col-lg-offset-5" style="height:230px;">
                                <label>轮播图</label>
                                <img src="{{$data->logo}}" width="200" height="100px" alt=""/>
                                <input type="file" name="img" style="margin-top:10px;">

                                <label>选项卡图</label>
                                <img src="{{$data->logo}}" width="200" height="100px" alt=""/>
                                <input type="file" name="logo" style="margin-top:10px;">
                                <label>轮播图</label>
                                <img src="{{$data->logo}}" width="200" height="100px" alt=""/>
                                <input type="file" name="img" style="margin-top:10px;">
                                <!-- <label>链接地址</label> -->
                                <!-- <input type="text" name="link" value="" style="width:195px;margin-top:20px;"> -->
                                <input type="hidden" name="id" value="{{$data->id}}">
                                {{csrf_field()}}
                                <button type="submit" class="btn btn-success" style="margin-top:20px;">修改</button>
                                <button type="reset" class="btn btn-primary" style="margin-top:20px;">重置</button>
                            </div>
                        </form>
                    </div>
                </div>
                <!-- /.row (nested) -->
            </div>
            <!-- /.panel-body -->
        </div>
        <!-- /.panel -->
    </div>
    <!-- /.col-lg-12 -->
</div>
<!-- /.row -->
@endsection
